package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.ScenicSpot;
import cn.wolfcode.luowowo.article.domain.SpotTag;
import cn.wolfcode.luowowo.article.query.SpotQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IScenicSpotService {
    ScenicSpot get(Long id);

    List<ScenicSpot> list();

    List<ScenicSpot> queryTop5(Long destId);

    List<ScenicSpot> hotspot(Long destId);

    PageInfo query(SpotQuery qo);

    List<SpotTag> tagsAll();

    /**
     * 根据用户来查询景点点评
     * @param uid
     * @return
     */
    List<ScenicSpot> queryForList(Long uid);

    int queryForCount(Long uid);

    List<ScenicSpot> queryForTop5(Long uid);

    List<ScenicSpot> getChild(Long id);

    /**
     * 查出来收藏前三的东西
     * @return
     */
    List<ScenicSpot> queryForTop3BySpotcomment();
}
